package org.apache.dubbo.demo.consumer.example.eg17;

import org.apache.dubbo.demo.consumer.example.AbstractConsumer;
import org.apache.dubbo.demo.example.eg17.DemoService;
import org.junit.Test;

public class Application extends AbstractConsumer {

  @Test
  public void testStub() {
    DemoService demoService = (DemoService) context.getBean("demoService");
    String result = demoService.sayHello("xufeng");
    System.out.println("******************** result: " + result + " ********************");
  }

}
